﻿using BaseData.CommonLib.Models;
using Swimj.CommonLib.Base;

namespace BaseData.ApplicationLib.Queries
{
    public interface ICalculateUnitQueries
    {
        Task<Result<CalculateUnitInfoResponseDto>> GetUnit(int id);

        Task<Result<IList<CalculateUnitInfoResponseDto>>> QueryUnits(CalculateUnitSearchRequestDto model);

        Task<PaginatedResult<CalculateUnitInfoResponseDto>> QueryUnitsByPage(CalculateUnitSearchRequestDto model);
    }
}
